Imports System.Windows.Forms
Public Class FormNuevoGenerico
    Private WithEvents efectos As New ClaseGolosinaVisual

    Public Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
        GroupBox2.Visible = False
        GroupBox1.Enabled = True
        Button6.Enabled = True
    End Sub
    Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
        GroupBox2.Visible = False
        GroupBox1.Enabled = True
        Button6.Enabled = True
    End Sub

    Private Sub FormNuevoGenerico_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        efectos.FadeIn(Me, 339, 322)
        SetUpForm(Me)
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        GroupBox1.Enabled = False
        GroupBox2.Visible = True
        GroupBox2.Text = "Nuevo:"
        Button6.Enabled = False
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        GroupBox1.Enabled = False
        GroupBox2.Visible = True
        GroupBox2.Text = "Modificar:"
        Button6.Enabled = False
    End Sub
End Class